﻿using YNTK.Dependency;

namespace YNTK.Archives.Entitys.Dto
{
    /// <summary>
    /// 档案信息传输模型
    /// </summary>
    [SuppressSniffer]
    public class ArchivesDto: ArchivesListDto
    {
        /// <summary>
        /// 共享范围为角色或用户时使用
        /// </summary>
        public string sharedScopeValue { get; set; }

        /// <summary>
        /// 共享范围为机构时使用
        /// </summary>
        public List<string[]> sharedScopeMechanismValue { get; set; }

        /// <summary>
        /// 共享范围显示文本
        /// </summary>
        public string sharedScopeValueText { get; set; }

        /// <summary>
        /// 档案内容
        /// </summary>
        public string content { get; set; }

        /// <summary>
        /// 档案相关附件数据
        /// </summary>
        public List<ArchivesFileListDto> fileData { get; set; }

        /// <summary>
        /// 档案动态字段数据
        /// </summary>
        public List<ArchivesDynamicFieldsListDto> fieldData { get; set; }
    }
}
